home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / 1984 / laman.hint < prev    next >
Encoding:
Text File  |  1989-04-13  |  499 b   |  22 lines  |  [TEXT/MPS ]

  1. Third place: <sdcsvax!laman> Mike Laman
  2.  
  3. NOTE: Some new compilers dislike lines 6 and 10 of the source, so we changed
  4. them from:
  5.  
  6. ;++f)a[        b<<5|c]        =d++,b+        =e;for(        f=0;f<O
  7. <<5|c]^        =a[b<<5        |c]^=a[        (k-(b+1        ))<<5|c]
  8.  
  9. to:
  10.  
  11. ;++f)a[        b<<5|c]        =d++,b+=    e;for(        f=0;f<O
  12. <<5|c]^=    a[b<<5        |c]^=a[        (k-(b+1        ))<<5|c]
  13.  
  14. I hope you have the C beautifier! The program accepts ONE positive
  15. argument.  Seeing is believing, so try things like:
  16.  
  17.     laman 4
  18.     laman 9
  19.     laman 16
  20.  
  21. This code should run you in circles.
  22.